﻿<UserControl x:Class="PlayInfo.View.PlayInfoView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0 8 0 0">
            <TextBlock Text="流水线名:" Width="80"></TextBlock>
            <TextBox Text="{Binding WCNO,UpdateSourceTrigger=PropertyChanged}" Width="180"></TextBox>
        </StackPanel>
        <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="0 8 0 0">
            <TextBlock Text="工位名称:" Width="80"></TextBlock>
            <TextBox Text="{Binding StationName,UpdateSourceTrigger=PropertyChanged}" Width="180"></TextBox>
        </StackPanel>
        <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0 8 0 0">
            <TextBlock Text="机种名:" Width="80"></TextBlock>
            <TextBox Text="{Binding Model,UpdateSourceTrigger=PropertyChanged}" Width="180"></TextBox>
        </StackPanel>
        <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="0 8 0 0">
            <TextBlock Text="背番号:" Width="80"></TextBlock>
            <TextBox Text="{Binding Sebango,UpdateSourceTrigger=PropertyChanged}" Width="180"></TextBox>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="0 8 0 0">
            <telerik:RadButton Width="80" Height="22" Content="确定" Margin="0 0 5 0" Command="{Binding SaveCommand,Mode=TwoWay}"></telerik:RadButton>
        </StackPanel>
    </Grid>
</UserControl>
